package structural.adaptor;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author binbin
 * @since 2022/10/7 15:34
 */
@Data
@AllArgsConstructor
public class Voltage {

    private String source;

    private Integer v;

    @Override
    public String toString() {
        return "Voltage" + hashCode() + ":" + v + "V" + " " + source;
    }
}
